#include "Variable.h"

#include <cstdlib>

Variable::Variable(std::string name)
 : Expression(NULL, NULL), name(name)
{
}

double Variable::GetValue(std::map<std::string, double> vars)
{
	return vars[name];
}
